package com.taoym.voucher.xcx.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * @coder taoym
 * @datetime 2021/9/17 17:40
 * @desc 
 */

/**
 * 系统用户表
 */
@Data
@TableName(value = "sys_user")
public class SysUser implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 租户用户名
     */
    @TableField(value = "username")
    private String username;

    /**
     * 租户密码
     */
    @TableField(value = "`password`")
    private String password;

    /**
     * 邮箱
     */
    @TableField(value = "email")
    private String email;

    /**
     * 聚推客pub_id
     */
    @TableField(value = "pub_id")
    private Integer pubId;

    /**
     * 聚推客api_key
     */
    @TableField(value = "api_key")
    private String apiKey;

    /**
     * 小程序ID
     */
    @TableField(value = "app_id")
    private String appId;

    /**
     * 小程序密钥
     */
    @TableField(value = "app_secret")
    private String appSecret;

    /**
     * 可分配佣金率
     */
    @TableField(value = "dist_rate")
    private String distRate;

    /**
     * 队员佣金
     */
    @TableField(value = "team_rate")
    private String teamRate;

    private static final long serialVersionUID = 1L;
}